<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <link rel="stylesheet" href="../assets/lib/layui/css/layui.css">
    <link rel="stylesheet" href="./css/list.css">
</head>
<body>

    <div class="layui-card">
      <div class="layui-card-header">文章列表</div>
      <div class="layui-card-body">
        <!-- 内容区一 表单搜索区 start -->
        <form class="layui-form" action="" id="search">
          <div class="layui-form-item">
  
            <div class="layui-inline">
              <div class="layui-input-inline" style="width: 200px;">
                <select id="category" lay-verify="">
                  <option value="">请选择分类</option>
                  <!-- <option value="010">北京</option> -->
                </select>
              </div>
  
              <div class="layui-input-inline" style="width: 200px;">
                <select id="state" lay-verify="">
                  <option value="">请选择状态</option>
                  <option value="已发布">已发布</option>
                  <option value="草稿">草稿</option>
                </select>
              </div>
            </div>
  
            <div class="layui-inline">
              <div class="layui-input-inline" style="width: 100px;">
                <button class="layui-btn" lay-submit lay-filter="formDemo">筛选</button>
              </div>
            </div>
  
          </div>
        </form>
        <!-- 内容区一 表单搜索区 end -->
  
        <!-- 内容区二 表格区 start -->
        <table class="layui-table">
          <colgroup>
            <col width="40%">
            <col width="15%">
            <col width="15%">
            <col width="15%">
            <col>
          </colgroup>
          <thead>
            <tr>
              <th>文章标题</th>
              <th>分类</th>
              <th>发布时间</th>
              <th>状态</th>
              <th>操作</th>
            </tr>
          </thead>
          <tbody>
            <!-- <tr>
              <td>静夜思</td>
              <td>艺术</td>
              <td>2021-01-13 12:39:08</td>
              <td>已发布</td>
              <td>
                <button type="button" class="layui-btn layui-btn-xs">编辑</button>
                <button type="button" class="layui-btn layui-btn-xs layui-btn-danger">删除</button>
              </td>
            </tr> -->
          </tbody>
        </table>
        <!-- 内容区二 表格区 end -->
  
        <!-- 内容区三 分页区 start -->
        <div id="page"></div>
        <!-- 内容区三 分页区 end -->
      </div>
    </div>
  
    <script src="../assets/lib/layui/layui.js"></script>
    <script src="../assets/lib/jquery.js"></script>
    <script src="../assets/lib/axios.js"></script>
    <script src="./js/list.js"></script>
</body>
</html>